import '@babel/polyfill'
// import axios from 'axios'
// import './assets/css/index.less'
// import bg from './assets/img/bg.jpg'

// const img = new Image()
// img.src = bg

// document.getElementById('app').appendChild(img)

// axios.get('/api/home').then(res => {
//   // axios.get('http://localhost:777/home').then(res => {
//   console.log('res', res)
// })

const arr = [new Promise(() => {}), new Promise(() => {}), new Promise(() => {})]
arr.map(item => {
  console.log(item)
})

console.log('hello webpack')
/**
 * sourcemap
 */